package com.newlink.building.userinfo.mvp.contract

import com.newlink.building.common_base.base.IModel
import com.newlink.building.common_base.base.IPresenter
import com.newlink.building.common_base.base.IView
import com.newlink.building.common_base.model.bean.HttpResult
import io.reactivex.Observable

/**
 * @author wangyang
 * @date 2022/9/20
 * @description 我的——关于页面的Contract
 */
interface Module_UserInfo_HelpContract {

    interface Model : IModel {
        fun getFAQ(): Observable<HttpResult<String?>>
    }

    interface View : IView {
        fun showData()
        fun onGetFAQSuccess(url: String?)
    }

    interface Presenter : IPresenter<View> {
        fun getFAQ()
    }
}